using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace WCFServer.DataContracts
{
    /// <summary>
    /// Data Contract Class - GameResult
    /// </summary>
    [DataContract(Namespace = "http://WCFServer.DataContracts/2007/11", Name = "GameResult")]
    public partial class GameResult
    {
        private GameState resultField;

        [DataMember(IsRequired = false, Name = "result", Order = 0)]
        public GameState result
        {
            get { return resultField; }
            set { resultField = value; }
        }

        public enum GameState
        {
            NotStarted,
            InProgress,
            Faulted,
            Finished
        }
    }
}
